//
//  Collfoot.m
//  card
//
//  Created by 韦显光 on 2017/5/2.
//  Copyright © 2017年 xg韦. All rights reserved.
//

#import "Collfoot.h"
@interface Collfoot()
@property (weak, nonatomic) IBOutlet UIButton *btn1o;
@property (weak, nonatomic) IBOutlet UIButton *btn2o;
@property (weak, nonatomic) IBOutlet UIButton *btn3o;
@property (weak, nonatomic) IBOutlet UIView *line;
- (IBAction)ChanggeBtna:(UIButton *)sender;

@end
@implementation Collfoot

- (IBAction)btna:(UIButton *)sender {
    self.completion(sender);
}
-(void)CellInit{
      _btn1o.selected=YES;
    
}
- (IBAction)ChanggeBtna:(UIButton *)sender {
    _btn1o.selected=NO;
    _btn2o.selected=NO;
    _btn3o.selected=NO;
    sender.selected=YES;
    CGPoint center = _line.center;
    center.x = sender.center.x;
    _line.center = center;
    
}
@end
